x86/monitor: include EAX/ECX in CPUID monitor events
authorTamas K Lengyel <tamas.lengyel@zentific.com>
Mon, 5 Sep 2016 10:47:16 +0000 (12:47 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 5 Sep 2016 10:47:16 +0000 (12:47 +0200)
commitaf74f65ef19450a89c1cada8214adcc9ea186307
treee7c71c6b9fc914558803e261b7d7eb02ea95cbe4
parentb942c31bc1d40234922be5bee9689fe349e1d835
x86/monitor: include EAX/ECX in CPUID monitor events

Extend the CPUID monitor event to include EAX and ECX values that were used
when CPUID was executed. This is useful in identifying which leaf was queried.
We also adjust the xen-access output format to more closely resemble the output
of the Linux cpuid tool's raw format.

Signed-off-by: Tamas K Lengyel <tamas.lengyel@zentific.com>
Acked-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/tests/xen-access/xen-access.c
xen/arch/x86/hvm/monitor.c
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/hvm/monitor.h
xen/include/public/vm_event.h